package org.jeecgframework.web.system.pojo.base;

import java.util.List;
import java.util.concurrent.Callable;

import org.jeecgframework.core.util.ApplicationContextUtil;
import org.jeecgframework.web.service.UploadInstallRecordService;


/**
 * @author xiul
 * 2016-6-6 下午5:08:15
 * Description 
 */
public class ZyUpInstallRecordCheckSnThread implements Callable<String>{
	
	public List<String> snList;
	
	public int begin;
	
	public int end;
	
	private static UploadInstallRecordService uploadInstallRecordService = ApplicationContextUtil.getBean("uploadInstallRecordService");
	
	public ZyUpInstallRecordCheckSnThread(){}
	
	public ZyUpInstallRecordCheckSnThread(List<String> snList,int begin,int end){
		this.snList = snList;
		this.begin = begin;
		this.end = end;
	}
	
	@Override
	public String call() throws Exception {
		return uploadInstallRecordService.checkSnRepeat(snList, begin, end);
	}
	
	
	public List<String> getSnList() {
		return snList;
	}
	public void setSnList(List<String> snList) {
		this.snList = snList;
	}
	public int getBegin() {
		return begin;
	}
	public void setBegin(int begin) {
		this.begin = begin;
	}
	public int getEnd() {
		return end;
	}
	public void setEnd(int end) {
		this.end = end;
	}
	
	
	
	
}
